quartz: add support for Gtk+4
authorTom Schoonjans <Tom.Schoonjans@diamond.ac.uk>
Mon, 27 Feb 2017 21:38:46 +0000 (21:38 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 1 Apr 2017 20:45:37 +0000 (16:45 -0400)
commit758d26738aff4b719ed0929d5521258dd7e3b7c7
treef524f5513224f689dec71c6687c9a926b315a289
parentd779d0cb3266bb826aef4f89464a239e55a12159
quartz: add support for Gtk+4

The addition of GdkMonitor broke the quartz backend. This patch restores
that support by adding a new class GdkQuartzMonitor, and by modifying
the existing classes GdkQuartzDisplay and GdkQuartzScreen where
necessary.

It should be noted that this patch is essentially a refactor as no new
functionality that will impact the user has been added or removed.

https://bugzilla.gnome.org/show_bug.cgi?id=779184
gdk/quartz/Makefile.am
gdk/quartz/gdkdisplay-quartz.c
gdk/quartz/gdkdisplay-quartz.h [new file with mode: 0644]
gdk/quartz/gdkmonitor-quartz.c [new file with mode: 0644]
gdk/quartz/gdkmonitor-quartz.h [new file with mode: 0644]
gdk/quartz/gdkprivate-quartz.h
gdk/quartz/gdkquartz.h
gdk/quartz/gdkquartzmonitor.h [new file with mode: 0644]
gdk/quartz/gdkscreen-quartz.c
gdk/quartz/gdkscreen-quartz.h